<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2024/10/15
  Time: 9:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>德先生去旅行</title>
  <meta charset="UTF-8">
  <style>
    body {
      font-family: 'Arial', sans-serif;
      background-color: #f4f4f4;
      background-image: url('img/begin.jpg'); /* 设置背景图片 */
      background-size: cover; /* 覆盖整个页面 */
      background-position: center; /* 背景图片居中显示 */
      background-repeat: no-repeat; /* 不重复背景图片 */
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      margin: 0;
    }
    .register-container {
      background-color: white;
      padding: 20px;
      border-radius: 5px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    .register-container h2 {
      text-align: center;
    }
    .form-group {
      margin-bottom: 15px;
    }
    .form-group label {
      display: block;
    }
    .form-group input {
      width: 100%;
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 5px;
    }
    .form-group button {
      width: 100%;
      padding: 10px;
      border: none;
      border-radius: 5px;
      background-color: #5cb85c;
      color: white;
      cursor: pointer;
    }
    .form-group button:hover {
      background-color: #4cae4c;
    }
  </style>
</head>
<body>
<div class="register-container">
  <h2>登陆</h2>
  <form action="login" method="post">
    <div class="form-group">
      <label >账号(电话):</label>
      <input type="text" name="phone">
    </div>
    <div class="form-group">
      <label>密码:</label>
      <input type="password" name="pwd">
    </div>
    <div class="form-group">
      <button type="submit">登陆</button>
    </div>
  </form>
</div>
</body>
</html>
